<div class="page-header">
	<h1>お知らせ編集</h1>
</div>
<?php echo validation_errors(); ?>
<form class="" action="search" method="post">
	<table class="table table-bordered">
		<colgroup>
			<col width="15%" />
			<col width="85%" />
		</colgroup>
		<tr>
			<td colspan="2">&nbsp;&nbsp;登録・更新</td>
		</tr>
		<tr>
			<td><label style="color: red;">※</label>表示期間</td>
			<td>
				<nobr>
				<input type="text" id="datepicker1">&nbsp;<input type="text" id="timepicker1" size="2">時&nbsp; ~&nbsp;&nbsp;&nbsp;
				<input type="text" id="datepicker2">&nbsp;<input type="text" id="timepicker2" size="2">時
				</nobr>
			</td>
		</tr>
		<tr>
			<td><label style="color: red;">※</label>表示区分</td>
			<td>
				<input type="radio" name="display_cond" value="all" id="disp_cond_all" checked="checked"><label for="disp_cond_all">&nbsp;全て&nbsp;&nbsp;</label>
				<input type="radio" name="display_cond" value="cond1" id="disp_cond_1"><label for="disp_cond_1">&nbsp;PCのみ&nbsp;&nbsp;</label>
				<input type="radio" name="display_cond" value="cond2" id="disp_cond_2"><label for="disp_cond_2">&nbsp;携帯のみ&nbsp;&nbsp;</label>
			</td>
		</tr>
		<tr>
			<td><label style="color: red;">※</label>お知らせ区分</td>
			<td>
				<input type="radio" name="information_cond" value="all" id="info_cond_all" checked="checked"><label for="info_cond_all">&nbsp;システム用お知らせ&nbsp;&nbsp;</label>
				<input type="radio" name="information_cond" value="cond1" id="info_cond_1"><label for="info_cond_1">&nbsp;販促用お知らせ&nbsp;&nbsp;</label>
			</td>
		</tr>
		<tr>
			<td><label style="color: red;">※</label>本文</td>
			<td>
				<textarea cols=80 rows=4> </textarea>
				<br>
				<input type="button" class="" value="全角" placeholder="" style="font-size: 0.8em; width: 53px;" /> 
				<label style="font-size: 0.6em; color: blue;">&nbsp;[2000桁]</label>
			</td>
		</tr>
	</table>
	<table style="border: 0px; width: 100%;margin-top: -10px;">
		<tr>
			<td>
				<label style="color:blue;">※表示開始日の新しい順でフロント画面に表示します。</label>
			</td>
			<td align="right">
				<button type="submit" class="btn btn-default" style="width: 120px;">登録する</button>
			</td>
		</tr>
	</table>
</form>
<br />

<div class="bs-example" data-example-id="striped-table">
	<table class="table table-bordered">
		<colgroup>
			<col width="12%" />
			<col width="12%" />
			<col width="60%" />
			<col width="8%" />
			<col width="8%" />
		</colgroup>
		<thead>
		<tr>
			<th colspan="5">登録データ</th>
		</tr>
		<tr>
			<th>表示開始日時</th>
			<th>表示終了日時</th>
			<th>本文&nbsp;&nbsp;<label style="font-size: 0.6em; color: blue;">※先頭100文字</label>
			<th></th>
			<th></th>
		</tr>
		</thead>
		<tbody>
			<tr>
				<td>2011/10/24 00時</td>
				<td>2011/11/24 23時</td>
				<td>あいうえお</td>
				<td>
					<input type="button" class="" value="選択" placeholder="" style="width: 90px;" /> 
				</td>
				<td>
					<input type="button" class="" value="削除" placeholder="" style="width: 90px;" /> 
				</td>
			</tr>
			<tr>
				<td>2011/09/24 00時</td>
				<td>2011/10/23 23時</td>
				<td>かきくけこ</td>
				<td>
					<input type="button" class="" value="選択" placeholder="" style="width: 90px;" /> 
				</td>
				<td>
					<input type="button" class="" value="削除" placeholder="" style="width: 90px;" /> 
				</td>
			</tr>
	<?php
	foreach ( $list as $entry ) {
		?>
			<tr>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
	<?php
	}
	?>
		</tbody>
	</table>
</div>
<!-- /example -->
